package com.ddn.service.room;

import com.ddn.model.roomManagement.GoodsBo;
import com.ddn.util.ResultData;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.HashMap;
import java.util.List;

/**
 * @author QiuShiju
 * @date 2023/1/1
 * @desc
 */
public interface GoodsService {
    ResultData findAll(HashMap<String, Object> map);

    ResultData addGoods(HashMap<String, Object> map);

    ResultData deleteGoods(HashMap<String, Object> map);

    ResultData updateGoods(HashMap<String, Object> map);

    ResultData deleteBatch(List<Integer> ids);

    ResultData select();

    ResultData importGoods(MultipartFile file) throws IOException;

    List<GoodsBo> exportAllGoods();
}
